
package cn.base.web.authc;

import cn.rengy.auth.Authentication;
import cn.rengy.auth.entity.ResponseEntity;
import cn.rengy.auth.exception.AuthException;
import cn.rengy.lang.ResultEntity;
import org.springframework.http.HttpStatus;

/**
 * 访问控制策略
 */
public interface AccessStrategy {

    ResultEntity<HttpStatus, Authentication> isAccessAllowed(Object request, Object response) ;

}
